﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NotificationLib
{
    public abstract class Notification
    {
        public string Message { get; set; }
        public string Title { get; set; }
        public NotificationPriority Priority { get; set; }

        public DateTime Enqueued { get; set; }
        public DateTime Created { get; set; }
        public DateTime LastSendAttempt { get; set; }
        

        public abstract bool Send();

        public Notification()
        {

        }

        
       /* public Notification(string message, string title, NotificationPriority priority)
        {
            Initialize(message, title, priority);   
        }*/

        protected void Initialize(string message, string title, NotificationPriority priority)
        {
            Message = message;
            Title = title;
            priority = Priority;
            Created = DateTime.Now;
        }

    }
}
